<div class="row-fluid sortable">		
	<div class="box span12">
		<div class="box-header well" data-original-title>
			<h2><i class="icon-user"></i> Siswa</h2>
			<div class="box-icon">
				<!-- <a href="#" class="btn btn-setting btn-round"><i class="icon-cog"></i></a> -->
				<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
				<a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a>
			</div>
		</div>
		<div class="box-content">
			<p><a class="btn btn-success" href="<?php echo base_url();?>index.php/siswa/add_siswa"><i class="icon-user icon-white"></i> Add Siswa</a></p>
			<table class="table table-striped table-bordered bootstrap-datatable datatable">
			  <thead>
				  <tr>
					<td>Nama lengkap</td>
					<td>Jenis Kelamin</td>
					<td>Actions</td>
				  </tr>
			  </thead>   
			  <tbody>
			  	<?php foreach($grid as $idx=>$item) { ?>
				<tr>
					<td><?php echo $item['ss_real_name']?></td>
					<td><?php echo $item['ss_jk']?></td>
					<td class="center">
						<a class="btn btn-info" href="<?php echo base_url();?>index.php/siswa/edit_siswa/<?php echo $item['ss_id'];?>">
							<i class="icon-edit icon-white"></i>  
							Edit                                            
						</a>
						<a class="btn btn-danger deleteBtnID" href="#" siswa='<?php echo $item['ss_id'];?>'>
							<i class="icon-trash icon-white"></i> 
							Delete
						</a>
					</td>
				</tr>
				<?php } ?>
			  </tbody>
		  </table>            
		</div>
	</div><!--/span-->

</div><!--/row-->

<div id="dialog-confirm" class="hide" title="Konfirmasi hapus">
<p><span class="ui-icon ui-icon-alert" style="float: left; margin: 0 7px 20px 0;"></span>Apakah anda yakin akan menghapus data ini ?</p>
</div>